﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SmartSpace.Core;

namespace SmartSpace.Data
{
    public interface IDbScriptService
    {
        bool ToTable(EntityMetadata entityMetadata);

        DataInstance GetData(EntityMetadata entityMetadata, Guid id);

        bool Store(DataInstance data);

        PagedList<DataInstance> GetListData(EntityMetadata entityMetadata, int start, int limit);
    }
}
